

.LC0:
	.string "%d"

.LC1:
	.string "\n"


.LC2:
	.string "最大的数是:\n"


.globl main


main:
	pushq %rbp
	movq %rsp,%rbp
	subq $0x1000,%rsp

	movl $0,-0x1000(%rbp) /* a */
	movl $0,-0xffc(%rbp) /* b */
	movl $0,-0xff8(%rbp) /* c */
	movl $0,-0xff4(%rbp) /* max */


	leaq -0x1000(%rbp),%rsi 
	leaq .LC0(%rip),%rdi 
	movl $0,%eax 
	call scanf 

	leaq -0xffc(%rbp),%rsi 
	leaq .LC0(%rip),%rdi 
	movl $0,%eax 
	call scanf 

	leaq -0xff8(%rbp),%rsi 
	leaq .LC0(%rip),%rdi 
	movl $0,%eax 
	call scanf 

	movl -0x1000(%rbp),%eax /* a */
	cmpl -0xffc(%rbp),%eax /* b */
	jle .Lmain_400

	movl -0x1000(%rbp),%eax /* a */
	movl %eax,-0xff4(%rbp)  /* max */
	jmp .Lmain_380

.Lmain_400:
	movl -0xffc(%rbp),%eax /* b */
	movl %eax,-0xff4(%rbp) /* max */

.Lmain_380:
	movl -0xff4(%rbp),%eax /* max */
	cmpl -0xff8(%rbp),%eax /* c */
	jle .Lmain_370
	nop
	jmp .Lmain_360
.Lmain_370:
	movl -0xff8(%rbp),%eax /* c */
	movl %eax,-0xff4(%rbp) /* max */
	
.Lmain_360:
	leaq .LC2(%rip),%rdi
	movl $0,%eax 
	call printf 	

	movl -0xff4(%rbp),%esi 
	leaq .LC0(%rip),%rdi 
	movl $0,%eax 
	call printf 

	leaq .LC1(%rip),%rdi
	movl $0,%eax 
	call printf 	

	movl $0,%eax
	leave
	ret 
